﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace _057
{
    internal class Program
    {
        public static void CallToChildThread()
        {
            Console.WriteLine("执行子线程");
        }
        static void Main(string[] args)
        {
            Thread th = Thread.CurrentThread;
            th.Name = "主线程";
            Console.WriteLine("这是{0}",th.Name);
            Console.ReadKey();
        }
    }
}
